package com.hnevc.vx.Fragment;

import android.content.Intent;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout;
import android.widget.TextView;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;

import com.hnevc.vx.R;
import com.hnevc.vx.SheZhiActivty;

public class Fragment4 extends Fragment {


    private LinearLayout shezhi;
    private View view;

    public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        view = inflater.inflate(R.layout.activity_fragment4, container, false);
        initView();
        initData();
        initEvent();
        return view;
    }

    @Override
    public void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

    }

    private void initView() {
        shezhi = view.findViewById(R.id.shezhi);

    }

    private void initData() {

    }

    private void initEvent() {
        shezhi.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(getContext(), SheZhiActivty.class);
                startActivity(intent);
            }
        });

    }


}
